home *** CD-ROM | disk | FTP | other *** search
- //
- // The Fusion Library Interface for DOS
- // Version 1.06c
- // Copyright (C) 1990, 1991, 1992
- // Software Dimensions
- //
- // BlazeClass
- //
-
- #ifndef __BCPLUSPLUS__
- #pragma inline
- #endif
-
- #include "fli.h"
-
- #ifdef __BCPLUSPLUS__
- #pragma hdrstop
- #endif
-
- #define I asm
-
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- //
- // CopyVirtualToVisual()
- //
- // Copies the virtual screen onto a visual screen
- //
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
- void BlazeClass::CopyVirtualToVisual(void far *VIRTUAL)
- {
- int TotalWidth = ScreenWidth*ScreenHeight;
-
- I push ds
-
- void far *OUTPUT=BlazeClass::VIDEO;
- I les di,OUTPUT
- I lds si,VIRTUAL
-
- I mov cx,TotalWidth
-
- I cld
-
- I rep movsw
-
- I pop ds
- }
-